using System;
using Kassandra.Core;
using Kassandra.Core.Infrastructure.ResourceManagement;

namespace Kassandra.Console
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            try
            {
                ProcessFile process = new ProcessFile();
                process.With(args[0], args[1]);

                System.Console.WriteLine(MessageManagement.For("CompletedConversion") + args[1] + "\n" + MessageManagement.For("PressToExit"));

                System.Console.ReadLine();
            }
            catch (Exception ex)
            {
                System.Console.WriteLine(ex.ToString());
                System.Console.ReadKey();
            }
        }
    }
}